<?php

namespace Dcat\Admin\Caijiwebinfo;

use Dcat\Admin\Extend\ServiceProvider;
use Dcat\Admin\Admin;
use Dcat\Admin\Form;
use Dcat\Admin\Caijiwebinfo\Forms\Field\Caijiwebinfo;
class CaijiwebinfoServiceProvider extends ServiceProvider
{
	protected $js = [
        'js/index.js',
    ];
	protected $css = [
		'css/index.css',
	];

    // 定义菜单
    protected $menu = [
        [
            'title' => '采集文章管理',
            'uri'   => 'caijiwebinfo/list',
            'icon'  => 'feather icon-crosshair',
        ]
    ];

	public function register()
	{

	}

	public function init()
	{
		parent::init();
        Admin::style('#edui1{z-index: 1001 !important}');
        Form::extend('caijiwebinfo', Caijiwebinfo::class);
	}

	public function settingForm()
	{
		return new Setting($this);
	}
}
